﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Draco.OWF.DataBinding
{
    public interface IBindingDataItemSchema
    {
        Type DataType { get; set; }
        String DataName { get; set; }
        Object DefaultValue { get; set; }
        bool Nullable { get; set; }
        String XQuery { get; set; }
    }
    public class BindingDataItemSchema : IBindingDataItemSchema
    {
        public Type DataType { get; set; }
        public String DataName { get; set; }
        public Object DefaultValue { get; set; }
        public bool Nullable { get; set; }
        public String XQuery { get; set; }
    }


    public interface IBindingDataItem : IBindingDataItemSchema
    {
        Object DataValue { get; set; }
    }
    public class BindingDataItem : BindingDataItemSchema,IBindingDataItem, IBindingDataItemSchema
    {
        public Object DataValue { get; set; }
    }
}
